﻿<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet href="../Master.xslt" type="text/xsl"?>
<content doctype="xhtml1-strict">
  <param name="firstName" />
  <param name="lastName" />
  <param name="message" />
  <html output:xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" xmlns:output="urn:output">
    <head>
      <title>Simple Form Example</title>
      <meta name="description" content="Simple html form, actionLink, parameters (ViewData)" />
      <link rel="stylesheet" type="text/css" href="/_Content/Site.css" />
    </head>
    <body>
      <pageContent>
        <form method="post">
          <!-- action link for form -->
          <actionLink action="SampleSimpleForm">
            <id>123</id>
          </actionLink>
          <!-- anchor with action link -->
          <p>Click this link to go
          <a>
            <actionLink action="Index">
              <id>123</id>
            </actionLink>
            <content>Home</content>
          </a>.
          </p>
          <p>
          For an ajax form, see the
          <a>
            <actionLink action="SampleAjax">
              <id>123</id>
            </actionLink>
            <content>SampleAjax</content>
          </a> sample.
          </p>
          <fieldset>
            <label for="FirstName">First Name:</label>
            <input type="text" name="FirstName" value="{{$firstName}}" />
            <label for="LastName">Last Name:</label>
            <input type="text" name="LastName" value="{{$lastName}}" />
          </fieldset>
          <valueOf select="$message" />
          <input type="submit" value="Submit" />
        </form>
        <debug />
        <wizardNav name="SampleSimpleForm" />
      </pageContent>
    </body>
  </html>
</content>